package MobileTelephone;

public class App {
	public static void main(String[] args) {
		phone telephne=new phone();
		SIM sim1=new SIMOfChinaMobile();
		sim1.setNumber("1111111111");
		telephne.useSIM(sim1);
		telephne.showMess();
		SIM sim2=new SIMOfChinaUnicom();
			sim2.setNumber("2222222222");
			telephne.useSIM(sim2);
			telephne.showMess();								
	}
}

